#	$Id: Makefile 1021 2010-04-08 04:17:22Z phrakt $

.include "../share/mk/own.mk"

WWWSRC=		index.html

WWWDIR=		${BASEDIR}/www/_DEFAULT_
WWWGRP=		daemon
WWWOWN=		root

all:



install: ${WWWSRC}
	@if ! [ -d ${DESTDIR}${WWWDIR} ]; then				\
		echo "Creating directory ${DESTDIR}${WWWDIR}";		\
		mkdir -p ${DESTDIR}${WWWDIR};				\
	fi
	@for c in ${WWWSRC}; do						\
		echo "${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP} "		\
			"-m ${NONBINMODE} $$c ${DESTDIR}${WWWDIR}";	\
		${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP}			\
			-m ${NONBINMODE} $$c ${DESTDIR}${WWWDIR};	\
	done


clean:
